package com.tiantai.dashboard.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tiantai.common.annotation.Excel;
import com.tiantai.common.core.domain.BaseEntity;

/**
 * 茶园管理对象 tea_garden
 *
 * @author handsomedog
 * @date 2024-07-24
 */
public class TeaGarden extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 茶园ID
     */
    private Long id;

    /**
     * 茶园名称
     */
    @Excel(name = "茶园名称")
    private String name;

    /**
     * 茶园面积
     */
    @Excel(name = "茶园面积")
    private Long gardenArea;

    /**
     * 显示顺序
     */
    @Excel(name = "显示顺序")
    private Integer orderNum;

    private Long beginGardenArea;

    private Long endGardenArea;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setGardenArea(Long gardenArea) {
        this.gardenArea = gardenArea;
    }

    public Long getGardenArea() {
        return gardenArea;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public Long getBeginGardenArea() {
        return beginGardenArea;
    }

    public void setBeginGardenArea(Long beginGardenArea) {
        this.beginGardenArea = beginGardenArea;
    }

    public Long getEndGardenArea() {
        return endGardenArea;
    }

    public void setEndGardenArea(Long endGardenArea) {
        this.endGardenArea = endGardenArea;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("gardenArea", getGardenArea())
                .append("orderNum", getOrderNum())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
